package com.mrdeer.common.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mrdeer.common.base.BaseEntity;
import com.mrdeer.common.constants.CommonConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("t_department_header")
@ApiModel(value = "部门负责人")
public class DepartmentHeader extends BaseEntity {
    private static final long serialVersionUID = 6727029074713274707L;

    @ApiModelProperty(value = "关联部门ID")
    private String departmentId;

    @ApiModelProperty(value = "关联部门负责人")
    private String userId;

    @ApiModelProperty(value = "负责人类型 默认0主要 1副职")
    private Integer type = CommonConstant.HEADER_TYPE_MAIN;
}
